package com.mdx.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 虫害
 */
@TableName("t_blight")
public class BlightBean {
    /**
     * 主键
     */
    @TableId(value = "pk_blightId",type = IdType.AUTO)
    private int blightId;

    /**
     * 虫害名
     */
    @TableField("f_blightName")
    private String blightName;

    /**
     * 寄主名
     */
    @TableField("f_host")
    private String host;

    /**
     * 繁殖时间
     */
    @TableField("f_breedTime")
    private String breedTime;

    /**
     * 虫害天敌
     */
    @TableField("f_blightPredators")
    private String blightPredators;

    /**
     * 幼虫图片
     */
    @TableField("f_grubImg")
    private String grubImg;

    /**
     * 成虫图片
     */
    @TableField("f_imagoImg")
    private String imagoImg;

    /**
     * 虫害防治措施
     */
    @TableField("f_blightPrevention")
    private String blightPrevention;

    /**
     * 虫害危害
     */
    @TableField("f_blightHarm")
    private String blightHarm;

    @Override
    public String toString() {
        return "BlightBean{" +
                "blightId=" + blightId +
                ", blightName='" + blightName + '\'' +
                ", host='" + host + '\'' +
                ", breedTime='" + breedTime + '\'' +
                ", blightPredators='" + blightPredators + '\'' +
                ", grubImg='" + grubImg + '\'' +
                ", imagoImg='" + imagoImg + '\'' +
                ", blightPrevention='" + blightPrevention + '\'' +
                ", blightHarm='" + blightHarm + '\'' +
                '}';
    }

    public int getBlightId() {
        return blightId;
    }

    public void setBlightId(int blightId) {
        this.blightId = blightId;
    }

    public String getBlightName() {
        return blightName;
    }

    public void setBlightName(String blightName) {
        this.blightName = blightName;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getBreedTime() {
        return breedTime;
    }

    public void setBreedTime(String breedTime) {
        this.breedTime = breedTime;
    }

    public String getBlightPredators() {
        return blightPredators;
    }

    public void setBlightPredators(String blightPredators) {
        this.blightPredators = blightPredators;
    }

    public String getGrubImg() {
        return grubImg;
    }

    public void setGrubImg(String grubImg) {
        this.grubImg = grubImg;
    }

    public String getImagoImg() {
        return imagoImg;
    }

    public void setImagoImg(String imagoImg) {
        this.imagoImg = imagoImg;
    }

    public String getBlightPrevention() {
        return blightPrevention;
    }

    public void setBlightPrevention(String blightPrevention) {
        this.blightPrevention = blightPrevention;
    }

    public String getBlightHarm() {
        return blightHarm;
    }

    public void setBlightHarm(String blightHarm) {
        this.blightHarm = blightHarm;
    }

    public BlightBean() {
    }

    public BlightBean(String blightName, String host, String breedTime, String blightPredators, String grubImg, String imagoImg, String blightPrevention, String blightHarm) {
        this.blightName = blightName;
        this.host = host;
        this.breedTime = breedTime;
        this.blightPredators = blightPredators;
        this.grubImg = grubImg;
        this.imagoImg = imagoImg;
        this.blightPrevention = blightPrevention;
        this.blightHarm = blightHarm;
    }
}
